package com.example.livestockbreedingapplication.domain;

public class ControlData {
    //日期时间
    private String datetime;
    //控制器id
    private String controlId;
    //光照强度
    private Long light;
    //继电器的状态（1表示开，0表示关）
    private Long relay1;
    private Long relay2;
    private Long relay3;
    private Long relay4;
    private Long relay5;
    private Long relay6;
    private Long relay7;
    private Long relay8;
    private Long relay9;
    private Long relay10;
    private Long relay11;
    private Long relay12;
    private Long relay13;
    private Long relay14;
    private Long relay15;
    private Long relay16;
    //模拟量输出的电压
    private Long v1;
    private Long v2;
    private Long v3;
    private Long v4;
    private Long v5;
    private Long v6;

    public ControlData(String datetime, String controlId, Long light, Long relay1, Long relay2, Long relay3, Long relay4, Long relay5, Long relay6, Long relay7, Long relay8, Long relay9, Long relay10, Long relay11, Long relay12, Long relay13, Long relay14, Long relay15, Long relay16, Long v1, Long v2, Long v3, Long v4, Long v5, Long v6) {
        this.datetime = datetime;
        this.controlId = controlId;
        this.light = light;
        this.relay1 = relay1;
        this.relay2 = relay2;
        this.relay3 = relay3;
        this.relay4 = relay4;
        this.relay5 = relay5;
        this.relay6 = relay6;
        this.relay7 = relay7;
        this.relay8 = relay8;
        this.relay9 = relay9;
        this.relay10 = relay10;
        this.relay11 = relay11;
        this.relay12 = relay12;
        this.relay13 = relay13;
        this.relay14 = relay14;
        this.relay15 = relay15;
        this.relay16 = relay16;
        this.v1 = v1;
        this.v2 = v2;
        this.v3 = v3;
        this.v4 = v4;
        this.v5 = v5;
        this.v6 = v6;
    }

    public ControlData() {
        super();
    }

    public String getDatetime() {
        return datetime;
    }

    public void setDatetime(String datetime) {
        this.datetime = datetime == null ? null : datetime.trim();
    }

    public String getControlId() {
        return controlId;
    }

    public void setControlId(String controlId) {
        this.controlId = controlId == null ? null : controlId.trim();
    }

    public Long getLight() {
        return light;
    }

    public void setLight(Long light) {
        this.light = light;
    }

    public Long getRelay1() {
        return relay1;
    }

    public void setRelay1(Long relay1) {
        this.relay1 = relay1;
    }

    public Long getRelay2() {
        return relay2;
    }

    public void setRelay2(Long relay2) {
        this.relay2 = relay2;
    }

    public Long getRelay3() {
        return relay3;
    }

    public void setRelay3(Long relay3) {
        this.relay3 = relay3;
    }

    public Long getRelay4() {
        return relay4;
    }

    public void setRelay4(Long relay4) {
        this.relay4 = relay4;
    }

    public Long getRelay5() {
        return relay5;
    }

    public void setRelay5(Long relay5) {
        this.relay5 = relay5;
    }

    public Long getRelay6() {
        return relay6;
    }

    public void setRelay6(Long relay6) {
        this.relay6 = relay6;
    }

    public Long getRelay7() {
        return relay7;
    }

    public void setRelay7(Long relay7) {
        this.relay7 = relay7;
    }

    public Long getRelay8() {
        return relay8;
    }

    public void setRelay8(Long relay8) {
        this.relay8 = relay8;
    }

    public Long getRelay9() {
        return relay9;
    }

    public void setRelay9(Long relay9) {
        this.relay9 = relay9;
    }

    public Long getRelay10() {
        return relay10;
    }

    public void setRelay10(Long relay10) {
        this.relay10 = relay10;
    }

    public Long getRelay11() {
        return relay11;
    }

    public void setRelay11(Long relay11) {
        this.relay11 = relay11;
    }

    public Long getRelay12() {
        return relay12;
    }

    public void setRelay12(Long relay12) {
        this.relay12 = relay12;
    }

    public Long getRelay13() {
        return relay13;
    }

    public void setRelay13(Long relay13) {
        this.relay13 = relay13;
    }

    public Long getRelay14() {
        return relay14;
    }

    public void setRelay14(Long relay14) {
        this.relay14 = relay14;
    }

    public Long getRelay15() {
        return relay15;
    }

    public void setRelay15(Long relay15) {
        this.relay15 = relay15;
    }

    public Long getRelay16() {
        return relay16;
    }

    public void setRelay16(Long relay16) {
        this.relay16 = relay16;
    }

    public Long getV1() {
        return v1;
    }

    public void setV1(Long v1) {
        this.v1 = v1;
    }

    public Long getV2() {
        return v2;
    }

    public void setV2(Long v2) {
        this.v2 = v2;
    }

    public Long getV3() {
        return v3;
    }

    public void setV3(Long v3) {
        this.v3 = v3;
    }

    public Long getV4() {
        return v4;
    }

    public void setV4(Long v4) {
        this.v4 = v4;
    }

    public Long getV5() {
        return v5;
    }

    public void setV5(Long v5) {
        this.v5 = v5;
    }

    public Long getV6() {
        return v6;
    }

    public void setV6(Long v6) {
        this.v6 = v6;
    }
}